﻿using SqlSugar;
using System.Linq.Expressions;

namespace MaterialManagement.Infrastructure.Interface
{
    public interface IBaseRepository<T> where T : class,new()
    {
        IQueryable<T> GetAll();
        IQueryable<T> GetAllAsync(Expression<Func<T, bool>> expression);
    }
}
